#region Using directives
using System;
using Microsoft.DirectX.Direct3D;
using System.Drawing;
#endregion

namespace SharpWind.Graphics
{
	public class Font
	{
		#region Fields

		private Microsoft.DirectX.Direct3D.Font font = null;

		#endregion

		#region Constructor

		public Font(  string name, float size, FontStyle style )
		{
			this.font = new Microsoft.DirectX.Direct3D.Font( Engine.Instance.Graphics.Device, 
															 new System.Drawing.Font( name, size, style ) );
		}

		#endregion

		#region Methods

		public void DrawText( string text, int x, int y, Color color )
		{
			this.font.DrawText( null, text, x, y, color );
		}

		#endregion
	}
}
